package com.attendance.www.hr.dao.mapper;

import com.attendance.www.hr.entitys.ApprovalRule;
import com.attendance.www.hr.entitys.ApprovalRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ApprovalRuleMapper {
    int countByExample(ApprovalRuleExample example);

    int deleteByExample(ApprovalRuleExample example);

    int deleteByPrimaryKey(Integer approvalRuleId);

    int insert(ApprovalRule record);

    int insertSelective(ApprovalRule record);

    List<ApprovalRule> selectByExample(ApprovalRuleExample example);

    ApprovalRule selectByPrimaryKey(Integer approvalRuleId);

    int updateByExampleSelective(@Param("record") ApprovalRule record, @Param("example") ApprovalRuleExample example);

    int updateByExample(@Param("record") ApprovalRule record, @Param("example") ApprovalRuleExample example);

    int updateByPrimaryKeySelective(ApprovalRule record);

    int updateByPrimaryKey(ApprovalRule record);
}